package user.activity;

import java.awt.image.BufferedImage;
import java.io.File;

import javax.swing.JPanel;

import system.activity.MainListener;
import user.view.PicturePanelImpl;

public interface PicturePanel {
	
	void setPictureSize(int width, int height);
	
	void setImageFile(File imageFile);
	
	void setImage(BufferedImage image);
	
	BufferedImage getImage();
	
	PicturePanelImpl getPanel();
	
	interface Listener
	{
		void onClick();

		void needRepaint();
	}

	void addButtons(JPanel buttonsView);
	
	double zoomIn();
	
	double zoomOut();

	double getZoomValue();

	void setListener(MainListener listener);
	
}
